package cn.gs.global.common.meta;

// @author gs
import cn.gs.exchanger.ExchangerException;
import cn.gs.global.common.meta.ObjInfo;

public interface IObjServer {

    int[] create(String... name) throws ExchangerException;

    void delete(int... id) throws ExchangerException;

    boolean[] isDeleted(int... id) throws ExchangerException;

    String[] names(int... id) throws ExchangerException;

    int[] search(String sch) throws ExchangerException;

    void setName(int id, String name) throws ExchangerException;

    ObjInfo[] info(int... ids) throws ExchangerException;

    void setChg(int objId, int[] ids, double[] values) throws ExchangerException;

    void setFol(int objId, int[] ids, double[] values) throws ExchangerException;

    void set(ObjInfo... infos) throws ExchangerException;
}
